<article class="page-container">
	<form class="layui-form" enctype="multipart/form-data" method="post" action="">
	  <div class="layui-form-item">
	    <label class="layui-form-label">邮件标识</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="uuid" required  lay-verify="required" placeholder="请输入邮件标识" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">备注</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="note" placeholder="请输入备注说明" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">发送账号</label>
	    <div class="layui-input-block">
		      <select name="emailac_id" lay-verify="required">
		      	<{volist name="emailac" id="v"}>
		        <option value="<{$v['id']}>"><{$v['email']}></option>
		        <{/volist}>
		      </select>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">邮件主题</label>
	    <div class="layui-input-block">
	    	<input class="layui-input" type="text" name="subject" required  lay-verify="required"  placeholder="请输入邮件主题" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">邮件附件</label>
	    <div class="layui-input-block">
			<input type="file" name="file" lay-type="file" lay-title="请上传邮件附件" _url="<{:url('c/up','dir=email&f=attach')}>" onclick="c_up(this)">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">邮件内容</label>
	    <div class="layui-input-block">
	    	<textarea class="kind_editor" name="body" required lay-verify="required" placeholder="请输入邮件内容"  style="width:800px;height:400px;visibility:hidden;"></textarea>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">抄送至邮件</label>
	    <div class="layui-input-block">
	    	<input class="layui-input" type="text" name="addresscc" placeholder="请输入抄送邮件" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <div class="layui-input-block">
	      <button class="layui-btn" lay-submit lay-filter="form">提交</button>
	      <button class="layui-btn layui-btn-primary" onClick="c_close(this);" >关闭</button>
	  	  <br><br><blockquote class="layui-elem-quote layui-quote-nm">邮件替换变量有：    {{order_no}}:稿件编号,{{sys_title}}:系统名称,  {{username}}:用户账号, {{name}}:用户姓名, {{docs}}:稿件名称, {{code}}:验证码  </blockquote>
	    </div>
	  </div>
	</form>
</article>